<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="../common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<title>项目管理系统</title>
		<link rel="stylesheet" href="${css_ctx }/style.css" type="text/css" />
		<style type="text/css">
<!--
.atten {
	font-size: 12px;
	font-weight: normal;
	color: #F00;
}
-->
</style>
<script charset="utf-8" src="${editor_ctx }/kindeditor.js"></script>
<script charset="utf-8" src="${editor_ctx }/lang/zh_CN.js"></script>
<script>
        KindEditor.ready(function(K) {
                window.editor = K.create('#editor_id');
        });
        
</script>
	</head>
	<body class="ContentBody">
		<form action="${sysadmin_ctx }/updatevideo" method="post" name="form" id="form">
		    <input name="vid" value="${video.vid }" type="hidden" />
		    <input name="fid" value="${fid }" type="hidden" />
		    <input name="furl" value="${film.url }" type="hidden" />
			<div class="MainDiv">
				<table width="99%" border="0" cellpadding="0" cellspacing="0" class="CContent" style="height: 500px">
					<tr>
						<th class="tablestyle_title">
							播放源编辑
						</th>
					</tr>
					<tr>
						<td class="CPanel" valign="top">
							<table border="0" cellpadding="0" cellspacing="0" style="width: 70%">
								<tr>
									<td width="100%">
										<fieldset style="height: 100%;">
											<legend>
												播放源编辑【${film.fname }】
											</legend>
											<table border="0" cellpadding="2" cellspacing="1" style="width: 100%">
												<tr>
													<td align="right" width="13%">影片标题:</td>
													<td width="41%" colspan="2"><span style="color: red;">《${film.fname }》</span></td>
												</tr>
												<tr>
													<td align="right" width="13%">播放源标题:</td>
													<td width="41%" colspan="2"><input name="vtitle" value="${video.vtitle }" class="text" style="width: 200px;" type="text" size="50" /><span style="color: red;"> *</span></td>
												</tr>
												<tr>
													<td align="right" width="13%">播放源显示:</td>
													<td width="41%" colspan="2"><input name="vshow" value="${video.vshow }" class="text" style="width: 200px;" type="text" size="50" /></td>
												</tr>
												<tr>
													<td align="right" width="13%">播放源类型:</td>
													<td width="41%" colspan="2">
													  <select name="vtype" style="width: 100px;">
													  <c:forEach items="${vtypeList}" var="vtype">
													   <option value="${vtype.code }" <c:if test="${vtype.code eq video.vtype}">selected="selected"</c:if>>${vtype.name }</option> 
													  </c:forEach>
													  </select>
													</td>
												</tr>
												<tr>
													<td align="right" width="13%">播放源地址:</td>
													<td width="41%" colspan="2"><textarea rows="5" cols="50" name="vurl" >${video.vurl}</textarea></td>
												</tr>
												<tr>
													<td align="right" width="13%">播放源介绍:</td>
													<td width="41%" colspan="2"><textarea rows="5" id="editor_id" cols="50" name="vcontent" >${video.vcontent}</textarea></td>
												</tr>
												<tr>
													<td align="center" height="50px"><input type="submit" name="submit" value="保存" class="button"/> </td>
												    <td colspan="2">  <input type="reset" name="reset" value="重置" class="button" /></td>
												</tr>
											</table>
											<br/>
										</fieldset>
									</td>
								</tr>
							</table>
						</td>
					</tr>
				</table>
			</div>
		</form>
<c:if test="${!empty msg }">
<script>
 alert("${msg}");
</script>
<c:remove var="msg"/>
</c:if>
	</body>
</html>
